<?php

namespace Home\Controller;

class DesktopController extends BaseController
{
    public function index()
    {
        $wall = $this->wallImage();
        $this->assign('wall',$wall);

        //创建用户数据目录
//        if (!is_dir(MYHOME.'desktop/') && is_writable(MYHOME)) {
//            mkdir(MYHOME.'desktop/');
//        }

        $this->display('index');
    }
}